﻿using Microsoft.EntityFrameworkCore.Migrations;

namespace Camc.Quality.Migrations
{
    public partial class updtestore : Migration
    {
        protected override void Up(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.RenameColumn(
                name: "StoreAmount",
                table: "StorePutContents",
                newName: "Amount");

            migrationBuilder.AddColumn<string>(
                name: "CertificateId",
                table: "StorePutContents",
                nullable: true);

            migrationBuilder.AddColumn<string>(
                name: "InceptWorkshop",
                table: "StorePutContents",
                nullable: true);
        }

        protected override void Down(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.DropColumn(
                name: "CertificateId",
                table: "StorePutContents");

            migrationBuilder.DropColumn(
                name: "InceptWorkshop",
                table: "StorePutContents");

            migrationBuilder.RenameColumn(
                name: "Amount",
                table: "StorePutContents",
                newName: "StoreAmount");
        }
    }
}
